/************************* (C) COPYRIGHT 2008 Domain **************************
 * File Name   : flash.h                                                      *
 * Author      : Domain                                                       *
 * E-mail      : do.main@msn.com                                              *
 * Version     : 1.0                                                          *
 * Date        : 2008/5/27                                                    *
 * Description :                                                              *
 ******************************************************************************/

#ifndef __FLAHS_H__
#define __FLAHS_H__

#include "stm32f10x_type.h"

//u32 FLASH_PagesMask(vu32 Size);
void FLASH_DisableWriteProtectionPages(void);
u32 EraseFlash(const u32 Address, const u16 Size);
u8 ProgramFlash(const u32 Address, const u32 *Data, const u16 Size);

#endif /* __FLAHS_H__ */

/************************* (C) COPYRIGHT 2008 Domain ******* END OF FILE ******/
